# -*- Makefile -*-
#
#This file takes two macros that need to be defined
# ccmode  which provides the compiler flag for 32 or 64 bit compile
# tprolib which specifies the full path to the tpro library.
#

!include makefile.inc

SRC=$(APP).c

EXE=..\$(APP).exe
SRC=$(APP).c

CFLAGS=/I ..\..\..\dev /D WIN32 /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MD /W3 /nologo /c /Wp64 /ZI /TP /errorReport:prompt


$(EXE): xgetopt.obj $(APP).obj
	link $(APP).obj xgetopt.obj /OUT:$(EXE) /LIBPATH:..\..\..\dev /MANIFEST /SUBSYSTEM:CONSOLE /MACHINE:X86 /NODEFAULTLIB:MSVCRT tsync.lib tpro.lib kernel32.lib user32.lib
	$(_VC_MANIFEST_EMBED_EXE)

!include makefile.targ.inc